export function isArray(arr) {
  return Object.prototype.toString.apply(arr) === '[object Array]'
}

export function isObject(obj) {
  return Object.prototype.toString.apply(obj) === '[object Object]'
}
